class NetworkError(RuntimeError):
    def __init__(self, arg):
        self.args = arg
    def printError(self):
        print ''.join(self.args)
    
class ThreatNameError(RuntimeError):
    def __init__(self, arg):
        self.args = arg
    def printError(self):
        print ''.join(self.args)
    
class TraitError(RuntimeError):
    def __init__(self, arg):
        self.args = arg
    def printError(self):
        print ''.join(self.args)
        
class InputError(RuntimeError):
    def __init__(self, arg):
        self.args = arg
    def printError(self):
        print ''.join(self.args)